package jw.hospital.respository;

import jw.hospital.hosp.model.hospital.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface HospitalRespository extends MongoRepository<Hospital,String> {

    Hospital getHospitalByHoscode(String hoscode);

}
